package bounty.service;

import bounty.domain.BountySubmission;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

// 悬赏提交 Service 接口
public interface BountySubmissionService {
    boolean saveBountySubmission(BountySubmission bountySubmission);
    IPage<BountySubmission> getBountySubmissionsByPage(Page<BountySubmission> page, Long bountyId);
    boolean adoptSubmission(Long submissionId);
}


